import org.springframework.remoting.rmi.RmiProxyFactoryBean
import com.organization.CacheFlushJob

// Place your Spring DSL code here
beans = {
    dataService(RmiProxyFactoryBean) {bean->
        bean.lazyInit = true
        serviceUrl = "rmi://localhost:8081/DataService"
        serviceInterface = com.organization.remote.DataService
        refreshStubOnConnectFailure = true
    }
}
